package com.ruoyi.system.service;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.domain.po.BfyDmsRunningLog;
import com.ruoyi.system.domain.po.DmsRunningLog;

import java.util.Date;

public interface DmsRunningLogService {

    @DataSource(DataSourceType.MASTER)
    DmsRunningLog getDmsRunningLogs();

    @DataSource(DataSourceType.MASTER)
    void insertRunningLog(DmsRunningLog dmsRunningLog);

    @DataSource(DataSourceType.MASTER)
    void updateRunningLog(DmsRunningLog dcsRunningLog);

    @DataSource(DataSourceType.MASTER)
    BfyDmsRunningLog getBfyDmsRunningLogs();

    @DataSource(DataSourceType.MASTER)
    void insertBfyRunningLog(BfyDmsRunningLog dmsRunningLog);

    @DataSource(DataSourceType.MASTER)
    void updateBfyRunningLog(BfyDmsRunningLog dcsRunningLog);

    @DataSource(DataSourceType.MASTER)
    Date getLastUpdateTime();

}
